package com.xuecheng.api.course;

import com.xuecheng.framework.domain.course.Teachplan;
import com.xuecheng.framework.domain.course.TeachplanMedia;
import com.xuecheng.framework.domain.course.ext.CourseView;
import com.xuecheng.framework.domain.course.ext.TeachplanNode;
import com.xuecheng.framework.domain.course.request.CourseListRequest;
import com.xuecheng.framework.domain.course.response.CoursePublishResult;
import com.xuecheng.framework.model.response.QueryResponseResult;
import com.xuecheng.framework.model.response.ResponseResult;

public interface CourseControllerApi {
    public TeachplanNode findTeachplanList(String courseId);
    public ResponseResult addTeachplan(Teachplan teachplan);
    public QueryResponseResult findCourseList(Integer page, Integer size, CourseListRequest courseListRequest);
    public CourseView courseview(String id);
    public CoursePublishResult preview(String id);
    public ResponseResult saveMedia(TeachplanMedia teachplanMedia);
}
